package org.snail.transport.protocol;

/**
 * 请求或者响应的消息体
 *
 * Created by fish on 17/8/18.
 */
public class Message {

    private Header header;

    private byte[] body;

    public Message(Header header,byte[] body){
        this.header = header;
        this.body = body;
    }

    public Header getHeader() {
        return header;
    }

    public byte[] getBody() {
        return body;
    }

}
